﻿
@{
    ViewBag.Title = "车辆总汇总";
    ViewBag.pageHeader = "辅助功能";
    ViewBag.pageDes = "车辆总汇总";
}

@using (Html.BeginForm("Index", "BgsCarMain", FormMethod.Post, new { @class = "form-horizontal" }))
{
    <div class="box box-primary">
        <div class="box-header with-border">
            <div>
                <div class="box-tools">                   
                    <label style="margin-left: 20px;">年</label>&nbsp;&nbsp;
                    @Html.DropDownList("YearList")
                    <label style="margin-left: 20px;">月</label>&nbsp;&nbsp;
                    @Html.DropDownList("MonthList")
                    <input type="submit" value="查询" class="btn btn-primary" />

                </div>
            </div>
        </div>
        <!-- /.box-header -->
        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" class="active"><a href="#tab1" role="tab" data-toggle="tab">汇总</a></li>

        </ul>
        <div class="tab-content">
            <div role="tabpanel" class="tab-pane active" id="tab1">
                <div class="box-body">
                    @Html.Action("Index_1", new {Year = ViewBag.Year, month = ViewBag.Month })
                </div>
            </div>
            <!-- /.box-body -->
        </div>
    </div>
}
@section Styles {
    @Styles.Render("~/bundles/datatables")
}
@section Scripts {
    @Scripts.Render("~/bundles/datatablesjq")
    @Scripts.Render("~/bundles/datatablesbs")
    <script>
        $(function () {
            $("#roleList1").DataTable(
                {
                    "columnDefs": [
                       { "targets": [0], "visible": false }
                    ],
                    "autoWidth": true,
                    "ordering": false,
                    "language": {
                        "url": "/Content/plugins/datatables/Chinese.json"
                    }
                });
        });
    </script>
}

